CVE-2026-45848
apparmor: fix NULL sock in aa_sock_file_perm
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix NULL sock in aa_sock_file_perm Deal with the potential that sock and sock-sk can be NULL during socket setup or teardown. This could lead to an oops. The fix for NULL pointer dereference in __unix_needs_revalidation shows this is at least possible for af_unix sockets. While the fix for af_unix sockets applies for newer mediation this is still the fall back path for older af_unix mediation and other sockets, so ensure it is covered.
INFO
Published Date :
May 27, 2026, 2:16 p.m.
Last Modified :
May 27, 2026, 2:48 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for apparmor.
- Ensure socket setup and teardown are safe.
- Update the Linux kernel to the latest version.
Public PoC/Exploit Available at Github
CVE-2026-45848 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45848.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45848 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45848
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45848 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45848 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 27, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: apparmor: fix NULL sock in aa_sock_file_perm Deal with the potential that sock and sock-sk can be NULL during socket setup or teardown. This could lead to an oops. The fix for NULL pointer dereference in __unix_needs_revalidation shows this is at least possible for af_unix sockets. While the fix for af_unix sockets applies for newer mediation this is still the fall back path for older af_unix mediation and other sockets, so ensure it is covered. Added Reference https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297 Added Reference https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486 Added Reference https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b Added Reference https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de Added Reference https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067 Added Reference https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317 Added Reference https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4 Added Reference https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835